package com.tongcao.cn.validator.abstracts;

/**
 * @Author:tongcao
 * @Date:2019/4/26 15:20
 * Description:验证框架接口
 */
public interface Validator {


    boolean validate(Object object);

    boolean validate(Object object, double[] v);

    boolean validate(Object object, Class<?> clazz);

    void setMessage(String message);

    String getMessage();

    void setErrorCode(String errorCode);

    String getErrorCode();


}
